package com.zzty.springmybatis.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.zzty.springmybatis.entity.SelfExam;
import com.zzty.springmybatis.entity.TeamExam;

public interface TeamExamService {

	public String[] getQuestionID(String date, Integer clazzId);

	public Integer searchExamId(String date, Integer clazzId);

	public Integer searchClazzId(String name);

	public void addTeamExam(TeamExam te);

	public void updateWinners(Integer examId, Integer winnerId1, Integer winnerId2);

	public List<TeamExam> searchTeamExamByClazzId(Integer clazzId, Integer page);

	public List<TeamExam> searchTeamExamByClazzId(Integer clazzId);

	public Integer searchNewId(String date, String questions, int clazzId);

	public List<TeamExam> searchTeamExamByWinnerIdAndClazzId(Integer clazzId);

	public List<TeamExam> searchTenTeamExamByClazzId(Integer clazzId, Integer page);

}
